import Vue from "vue";
import VueCompositionApi from "@vue/composition-api";
import App from "./App.vue";
import router from "./router";
import "./router/router";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
// 自定义组件
import "./components/icon/index";
// import global from "@/utils/global";
Vue.use(ElementUI);
// Vue.use(global);
Vue.use(VueCompositionApi);

// 自定义按钮权限
import "./utils/buttonPerm";

// 富文本编辑器
import QuillEditor from "vue-quill-editor";
import "quill/dist/quill.core.css";
import "quill/dist/quill.snow.css";
import "quill/dist/quill.bubble.css";

Vue.use(QuillEditor);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
